import { createRouter, createWebHistory } from 'vue-router'

const routes = [
  {
    path: '/app1',
    name: 'app1',
    component: () => import('../App.vue') // This will be handled by qiankun
  },
  {
    path: '/app2',
    name: 'app2',
    component: () => import('../App.vue') // This will be handled by qiankun
  }
]

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes
})

export default router
